1 namespace SoftQuanLyNhaHang.Views
2 {
3 partial class uctBanHang
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Component Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
32 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
34 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(uctBanHang));
35 this.dgvDanhSachBanHang = new System.Windows.Forms.DataGridView();
36 this.SoLuongDaBan = new System.Windows.Forms.DataGridViewTextBoxColumn();
37 this.TrangThai = new System.Windows.Forms.DataGridViewTextBoxColumn();
38 this.DonViTinhId = new System.Windows.Forms.DataGridViewTextBoxColumn();
39 this.NhapKhoId = new System.Windows.Forms.DataGridViewTextBoxColumn();
40 this.KhachHangId = new System.Windows.Forms.DataGridViewTextBoxColumn();
41 this.NgayMuaHang = new System.Windows.Forms.DataGridViewTextBoxColumn();
42 this.IdBanHang = new System.Windows.Forms.DataGridViewTextBoxColumn();
43 this.STT = new System.Windows.Forms.DataGridViewTextBoxColumn();
44 this.MaSanPham = new System.Windows.Forms.DataGridViewTextBoxColumn();
45 this.TenSanPham = new System.Windows.Forms.DataGridViewTextBoxColumn();
46 this.SoLuongDaBanHienThi = new System.Windows.Forms.DataGridViewTextBoxColumn();
47 this.TenDonViTinh = new System.Windows.Forms.DataGridViewTextBoxColumn();
48 this.GiaBan = new System.Windows.Forms.DataGridViewTextBoxColumn();
49 this.ChietKhauPhanTram = new System.Windows.Forms.DataGridViewTextBoxColumn();
50 this.Thue = new System.Windows.Forms.DataGridViewTextBoxColumn();
51 this.ThanhTien_BH = new System.Windows.Forms.DataGridViewTextBoxColumn();
52 this.Xoa = new System.Windows.Forms.DataGridViewCheckBoxColumn();
53 this.btnLoaiBo = new System.Windows.Forms.Button();
54 this.btnThanhToan = new System.Windows.Forms.Button();
55 this.txtSoLuong = new System.Windows.Forms.TextBox();
56 this.txtGiaBan = new System.Windows.Forms.TextBox();
57 this.txtMaSanPham = new System.Windows.Forms.TextBox();
58 this.label4 = new System.Windows.Forms.Label();
59 this.label3 = new System.Windows.Forms.Label();
60 this.label1 = new System.Windows.Forms.Label();
61 this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
62 this.btnThemMoi = new System.Windows.Forms.Button();
63 this.panel5 = new System.Windows.Forms.Panel();
64 this.lblMaDonHang = new System.Windows.Forms.Label();
65 this.linkLabel_ThongTinKH = new System.Windows.Forms.LinkLabel();
66 this.linkLabel_ThietLap = new System.Windows.Forms.LinkLabel();
67 this.lblKh = new System.Windows.Forms.Label();
68 this.cmbTTKh = new System.Windows.Forms.ComboBox();
69 this.label2 = new System.Windows.Forms.Label();
70 this.pictureBox1 = new System.Windows.Forms.PictureBox();
71 this.panel3 = new System.Windows.Forms.Panel();
72 this.grbKey = new System.Windows.Forms.GroupBox();
73 this.linkLabelValidateKey = new System.Windows.Forms.LinkLabel();
74 this.lblTaiKhoanBanDaHet = new System.Windows.Forms.Label();
75 this.lblDungLai = new System.Windows.Forms.Label();
76 this.linkLabel_KhachHangTruoc = new System.Windows.Forms.LinkLabel();
77 this.panel4 = new System.Windows.Forms.Panel();
78 this.label8 = new System.Windows.Forms.Label();
79 this.button2 = new System.Windows.Forms.Button();
80 this.button1 = new System.Windows.Forms.Button();
81 this.panel2 = new System.Windows.Forms.Panel();
82 this.panel6 = new System.Windows.Forms.Panel();
83 this.panel1 = new System.Windows.Forms.Panel();
84 this.txtTongSoMatHang = new System.Windows.Forms.TextBox();
85 this.label9 = new System.Windows.Forms.Label();
86 this.lblThongBao = new System.Windows.Forms.Label();
87 this.textBoxTraLaiKhach = new System.Windows.Forms.TextBox();
88 this.textBoxTienKhachDua = new System.Windows.Forms.TextBox();
89 this.label10 = new System.Windows.Forms.Label();
90 this.textBoxTongThanhToan = new System.Windows.Forms.TextBox();
91 this.label7 = new System.Windows.Forms.Label();
92 this.label6 = new System.Windows.Forms.Label();
93 this.label5 = new System.Windows.Forms.Label();
94 this.textBoxTienHang = new System.Windows.Forms.TextBox();
95 this.btnInHoaDon = new System.Windows.Forms.Button();
96 this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
97 this.printDocument1 = new System.Drawing.Printing.PrintDocument();
98 this.printDialog1 = new System.Windows.Forms.PrintDialog();
99 this.lblHayLienHe = new System.Windows.Forms.Label();
100 ((System.ComponentModel.ISupportInitialize)(this.dgvDanhSachBanHang)).BeginInit();
101 this.panel5.SuspendLayout();
102 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
103 this.panel3.SuspendLayout();
104 this.grbKey.SuspendLayout();
105 this.panel2.SuspendLayout();
106 this.panel1.SuspendLayout();
107 this.SuspendLayout();
108 //
109 // dgvDanhSachBanHang
110 //
111 this.dgvDanhSachBanHang.AllowUserToAddRows = false;
112 this.dgvDanhSachBanHang.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
113 | System.Windows.Forms.AnchorStyles.Right)));
114 this.dgvDanhSachBanHang.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;
115 this.dgvDanhSachBanHang.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
116 this.dgvDanhSachBanHang.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
117 this.SoLuongDaBan,
118 this.TrangThai,
119 this.DonViTinhId,
120 this.NhapKhoId,
121 this.KhachHangId,
122 this.NgayMuaHang,
123 this.IdBanHang,
124 this.STT,
125 this.MaSanPham,
126 this.TenSanPham,
127 this.SoLuongDaBanHienThi,
128 this.TenDonViTinh,
129 this.GiaBan,
130 this.ChietKhauPhanTram,
131 this.Thue,
132 this.ThanhTien_BH,
133 this.Xoa});
134 this.dgvDanhSachBanHang.Location = new System.Drawing.Point(25, 287);
135 this.dgvDanhSachBanHang.Margin = new System.Windows.Forms.Padding(4);
136 this.dgvDanhSachBanHang.Name = "dgvDanhSachBanHang";
137 this.dgvDanhSachBanHang.RowTemplate.Height = 30;
138 this.dgvDanhSachBanHang.Size = new System.Drawing.Size(555, 297);
139 this.dgvDanhSachBanHang.TabIndex = 0;
140 this.dgvDanhSachBanHang.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDanhSachBanHang_CellClick);
141 //
142 // SoLuongDaBan
143 //
144 this.SoLuongDaBan.DataPropertyName = "(none)";
145 this.SoLuongDaBan.HeaderText = "SL";
146 this.SoLuongDaBan.Name = "SoLuongDaBan";
147 this.SoLuongDaBan.ReadOnly = true;
148 this.SoLuongDaBan.Visible = false;
149 //
150 // TrangThai
151 //
152 this.TrangThai.HeaderText = "TrangThai";
153 this.TrangThai.Name = "TrangThai";
154 this.TrangThai.Visible = false;
155 //
156 // DonViTinhId
157 //
158 this.DonViTinhId.HeaderText = "DonViTinhId";
159 this.DonViTinhId.Name = "DonViTinhId";
160 this.DonViTinhId.Visible = false;
161 //
162 // NhapKhoId
163 //
164 this.NhapKhoId.HeaderText = "NhapKhoId";
165 this.NhapKhoId.Name = "NhapKhoId";
166 this.NhapKhoId.Visible = false;
167 //
168 // KhachHangId
169 //
170 this.KhachHangId.DataPropertyName = "(none)";
171 this.KhachHangId.HeaderText = "KhachHangId";
172 this.KhachHangId.Name = "KhachHangId";
173 this.KhachHangId.Visible = false;
174 //
175 // NgayMuaHang
176 //
177 this.NgayMuaHang.HeaderText = "NgayMuaHang";
178 this.NgayMuaHang.Name = "NgayMuaHang";
179 this.NgayMuaHang.Visible = false;
180 //
181 // IdBanHang
182 //
183 this.IdBanHang.HeaderText = "IdBanHang";
184 this.IdBanHang.Name = "IdBanHang";
185 this.IdBanHang.Visible = false;
186 //
187 // STT
188 //
189 this.STT.FillWeight = 50F;
190 this.STT.HeaderText = "STT";
191 this.STT.Name = "STT";
192 this.STT.ReadOnly = true;
193 this.STT.Width = 50;
194 //
195 // MaSanPham
196 //
197 dataGridViewCellStyle13.Padding = new System.Windows.Forms.Padding(4);
198 this.MaSanPham.DefaultCellStyle = dataGridViewCellStyle13;
199 this.MaSanPham.FillWeight = 135F;
200 this.MaSanPham.HeaderText = "Mã sản phẩm";
201 this.MaSanPham.Name = "MaSanPham";
202 this.MaSanPham.ReadOnly = true;
203 this.MaSanPham.Width = 135;
204 //
205 // TenSanPham
206 //
207 this.TenSanPham.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
208 dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
209 this.TenSanPham.DefaultCellStyle = dataGridViewCellStyle14;
210 this.TenSanPham.FillWeight = 170F;
211 this.TenSanPham.HeaderText = "Tên sản phẩm *";
212 this.TenSanPham.Name = "TenSanPham";
213 this.TenSanPham.ReadOnly = true;
214 //
215 // SoLuongDaBanHienThi
216 //
217 dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
218 this.SoLuongDaBanHienThi.DefaultCellStyle = dataGridViewCellStyle15;
219 this.SoLuongDaBanHienThi.FillWeight = 80F;
220 this.SoLuongDaBanHienThi.HeaderText = "S.Lượng";
221 this.SoLuongDaBanHienThi.Name = "SoLuongDaBanHienThi";
222 this.SoLuongDaBanHienThi.Width = 80;
223 //
224 // TenDonViTinh
225 //
226 this.TenDonViTinh.DataPropertyName = "(none)";
227 this.TenDonViTinh.HeaderText = "Đ.V.Tính";
228 this.TenDonViTinh.Name = "TenDonViTinh";
229 this.TenDonViTinh.ReadOnly = true;
230 //
231 // GiaBan
232 //
233 this.GiaBan.DataPropertyName = "(none)";
234 this.GiaBan.FillWeight = 125F;
235 this.GiaBan.HeaderText = "Giá";
236 this.GiaBan.Name = "GiaBan";
237 this.GiaBan.ReadOnly = true;
238 this.GiaBan.Width = 125;
239 //
240 // ChietKhauPhanTram
241 //
242 this.ChietKhauPhanTram.HeaderText = "C.Khấu";
243 this.ChietKhauPhanTram.Name = "ChietKhauPhanTram";
244 this.ChietKhauPhanTram.Visible = false;
245 //
246 // Thue
247 //
248 this.Thue.HeaderText = "Thuế";
249 this.Thue.Name = "Thue";
250 this.Thue.Visible = false;
251 //
252 // ThanhTien_BH
253 //
254 this.ThanhTien_BH.FillWeight = 125F;
255 this.ThanhTien_BH.HeaderText = "Thành tiền";
256 this.ThanhTien_BH.Name = "ThanhTien_BH";
257 this.ThanhTien_BH.ReadOnly = true;
258 this.ThanhTien_BH.Width = 125;
259 //
260 // Xoa
261 //
262 this.Xoa.FillWeight = 40F;
263 this.Xoa.HeaderText = "";
264 this.Xoa.Name = "Xoa";
265 this.Xoa.Width = 40;
266 //
267 // btnLoaiBo
268 //
269 this.btnLoaiBo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
270 this.btnLoaiBo.Location = new System.Drawing.Point(508, 589);
271 this.btnLoaiBo.Margin = new System.Windows.Forms.Padding(4);
272 this.btnLoaiBo.Name = "btnLoaiBo";
273 this.btnLoaiBo.Size = new System.Drawing.Size(72, 42);
274 this.btnLoaiBo.TabIndex = 15;
275 this.btnLoaiBo.Text = "Xóa";
276 this.btnLoaiBo.UseVisualStyleBackColor = true;
277 this.btnLoaiBo.Click += new System.EventHandler(this.btnLoaiBo_Click);
278 //
279 // btnThanhToan
280 //
281 this.btnThanhToan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
282 this.btnThanhToan.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
283 this.btnThanhToan.ForeColor = System.Drawing.Color.Red;
284 this.btnThanhToan.Location = new System.Drawing.Point(721, 586);
285 this.btnThanhToan.Margin = new System.Windows.Forms.Padding(4);
286 this.btnThanhToan.Name = "btnThanhToan";
287 this.btnThanhToan.Size = new System.Drawing.Size(251, 42);
288 this.btnThanhToan.TabIndex = 13;
289 this.btnThanhToan.Text = "Thanh toán (Ctrl + S)";
290 this.btnThanhToan.UseVisualStyleBackColor = true;
291 this.btnThanhToan.Click += new System.EventHandler(this.btnThanhToan_Click);
292 //
293 // txtSoLuong
294 //
295 this.txtSoLuong.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
296 this.txtSoLuong.Location = new System.Drawing.Point(104, 170);
297 this.txtSoLuong.Margin = new System.Windows.Forms.Padding(4);
298 this.txtSoLuong.Name = "txtSoLuong";
299 this.txtSoLuong.Size = new System.Drawing.Size(172, 26);
300 this.txtSoLuong.TabIndex = 7;
301 this.txtSoLuong.Click += new System.EventHandler(this.txtSoLuong_Click);
302 this.txtSoLuong.TextChanged += new System.EventHandler(this.txtSoLuong_TextChanged);
303 this.txtSoLuong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSoLuong_KeyDown);
304 this.txtSoLuong.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSoLuong_KeyPress);
305 this.txtSoLuong.MouseCaptureChanged += new System.EventHandler(this.txtSoLuong_MouseCaptureChanged);
306 //
307 // txtGiaBan
308 //
309 this.txtGiaBan.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
310 this.txtGiaBan.Location = new System.Drawing.Point(104, 120);
311 this.txtGiaBan.Margin = new System.Windows.Forms.Padding(4);
312 this.txtGiaBan.Name = "txtGiaBan";
313 this.txtGiaBan.Size = new System.Drawing.Size(172, 26);
314 this.txtGiaBan.TabIndex = 6;
315 this.txtGiaBan.Click += new System.EventHandler(this.txtGiaBan_Click);
316 this.txtGiaBan.TextChanged += new System.EventHandler(this.txtGiaBan_TextChanged);
317 this.txtGiaBan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtGiaBan_KeyDown);
318 this.txtGiaBan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtGiaBan_KeyPress);
319 this.txtGiaBan.MouseCaptureChanged += new System.EventHandler(this.txtGiaBan_MouseCaptureChanged);
320 //
321 // txtMaSanPham
322 //
323 this.txtMaSanPham.BackColor = System.Drawing.Color.Yellow;
324 this.txtMaSanPham.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
325 this.txtMaSanPham.Location = new System.Drawing.Point(104, 65);
326 this.txtMaSanPham.Margin = new System.Windows.Forms.Padding(4);
327 this.txtMaSanPham.Name = "txtMaSanPham";
328 this.txtMaSanPham.Size = new System.Drawing.Size(295, 27);
329 this.txtMaSanPham.TabIndex = 4;
330 this.txtMaSanPham.TextChanged += new System.EventHandler(this.txtMaSanPham_TextChanged);
331 this.txtMaSanPham.Enter += new System.EventHandler(this.txtMaSanPham_Enter);
332 this.txtMaSanPham.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMaSanPham_KeyDown);
333 //
334 // label4
335 //
336 this.label4.AutoSize = true;
337 this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
338 this.label4.Location = new System.Drawing.Point(4, 173);
339 this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
340 this.label4.Name = "label4";
341 this.label4.Size = new System.Drawing.Size(67, 18);
342 this.label4.TabIndex = 3;
343 this.label4.Text = "Số lượng";
344 //
345 // label3
346 //
347 this.label3.AutoSize = true;
348 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
349 this.label3.Location = new System.Drawing.Point(4, 121);
350 this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
351 this.label3.Name = "label3";
352 this.label3.Size = new System.Drawing.Size(59, 18);
353 this.label3.TabIndex = 2;
354 this.label3.Text = "Giá bán";
355 //
356 // label1
357 //
358 this.label1.AutoSize = true;
359 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
360 this.label1.Location = new System.Drawing.Point(4, 74);
361 this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
362 this.label1.Name = "label1";
363 this.label1.Size = new System.Drawing.Size(98, 18);
364 this.label1.TabIndex = 0;
365 this.label1.Text = "Mã sản phẩm";
366 //
367 // tableLayoutPanel2
368 //
369 this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
370 | System.Windows.Forms.AnchorStyles.Right)));
371 this.tableLayoutPanel2.AutoScroll = true;
372 this.tableLayoutPanel2.AutoSize = true;
373 this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
374 this.tableLayoutPanel2.ColumnCount = 2;
375 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
376 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 980F));
377 this.tableLayoutPanel2.Location = new System.Drawing.Point(-106, 30);
378 this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4);
379 this.tableLayoutPanel2.Name = "tableLayoutPanel2";
380 this.tableLayoutPanel2.RowCount = 1;
381 this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
382 this.tableLayoutPanel2.Size = new System.Drawing.Size(1731, 0);
383 this.tableLayoutPanel2.TabIndex = 25;
384 //
385 // btnThemMoi
386 //
387 this.btnThemMoi.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
388 this.btnThemMoi.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
389 this.btnThemMoi.Location = new System.Drawing.Point(794, 14);
390 this.btnThemMoi.Margin = new System.Windows.Forms.Padding(4);
391 this.btnThemMoi.Name = "btnThemMoi";
392 this.btnThemMoi.Size = new System.Drawing.Size(174, 33);
393 this.btnThemMoi.TabIndex = 34;
394 this.btnThemMoi.Text = "Thêm khách hàng mới";
395 this.btnThemMoi.UseVisualStyleBackColor = true;
396 this.btnThemMoi.Click += new System.EventHandler(this.btnThemMoi_Click);
397 //
398 // panel5
399 //
400 this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
401 | System.Windows.Forms.AnchorStyles.Right)));
402 this.panel5.Controls.Add(this.lblMaDonHang);
403 this.panel5.Controls.Add(this.linkLabel_ThongTinKH);
404 this.panel5.Controls.Add(this.linkLabel_ThietLap);
405 this.panel5.Controls.Add(this.lblKh);
406 this.panel5.Controls.Add(this.cmbTTKh);
407 this.panel5.Controls.Add(this.label1);
408 this.panel5.Controls.Add(this.txtMaSanPham);
409 this.panel5.Controls.Add(this.label4);
410 this.panel5.Controls.Add(this.txtSoLuong);
411 this.panel5.Controls.Add(this.label2);
412 this.panel5.Controls.Add(this.label3);
413 this.panel5.Controls.Add(this.txtGiaBan);
414 this.panel5.Controls.Add(this.pictureBox1);
415 this.panel5.Location = new System.Drawing.Point(25, 14);
416 this.panel5.Margin = new System.Windows.Forms.Padding(4);
417 this.panel5.Name = "panel5";
418 this.panel5.Size = new System.Drawing.Size(565, 224);
419 this.panel5.TabIndex = 0;
420 //
421 // lblMaDonHang
422 //
423 this.lblMaDonHang.AutoSize = true;
424 this.lblMaDonHang.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
425 this.lblMaDonHang.ForeColor = System.Drawing.Color.Red;
426 this.lblMaDonHang.Location = new System.Drawing.Point(104, 15);
427 this.lblMaDonHang.Name = "lblMaDonHang";
428 this.lblMaDonHang.Size = new System.Drawing.Size(26, 29);
429 this.lblMaDonHang.TabIndex = 47;
430 this.lblMaDonHang.Text = "0";
431 //
432 // linkLabel_ThongTinKH
433 //
434 this.linkLabel_ThongTinKH.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
435 this.linkLabel_ThongTinKH.AutoSize = true;
436 this.linkLabel_ThongTinKH.Location = new System.Drawing.Point(420, 184);
437 this.linkLabel_ThongTinKH.Name = "linkLabel_ThongTinKH";
438 this.linkLabel_ThongTinKH.Size = new System.Drawing.Size(135, 18);
439 this.linkLabel_ThongTinKH.TabIndex = 46;
440 this.linkLabel_ThongTinKH.TabStop = true;
441 this.linkLabel_ThongTinKH.Text = "Khách đăt, trả hàng";
442 this.linkLabel_ThongTinKH.Visible = false;
443 this.linkLabel_ThongTinKH.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_ThongTinKH_LinkClicked);
444 //
445 // linkLabel_ThietLap
446 //
447 this.linkLabel_ThietLap.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
448 this.linkLabel_ThietLap.AutoSize = true;
449 this.linkLabel_ThietLap.Location = new System.Drawing.Point(492, 19);
450 this.linkLabel_ThietLap.Name = "linkLabel_ThietLap";
451 this.linkLabel_ThietLap.Size = new System.Drawing.Size(63, 18);
452 this.linkLabel_ThietLap.TabIndex = 44;
453 this.linkLabel_ThietLap.TabStop = true;
454 this.linkLabel_ThietLap.Text = "Thiết lập";
455 this.linkLabel_ThietLap.Visible = false;
456 this.linkLabel_ThietLap.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_ThietLap_LinkClicked);
457 //
458 // lblKh
459 //
460 this.lblKh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
461 this.lblKh.AutoSize = true;
462 this.lblKh.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
463 this.lblKh.ForeColor = System.Drawing.Color.Red;
464 this.lblKh.Location = new System.Drawing.Point(389, 15);
465 this.lblKh.Name = "lblKh";
466 this.lblKh.Size = new System.Drawing.Size(97, 22);
467 this.lblKh.TabIndex = 43;
468 this.lblKh.Text = "Mua hàng";
469 this.lblKh.Visible = false;
470 //
471 // cmbTTKh
472 //
473 this.cmbTTKh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
474 this.cmbTTKh.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
475 this.cmbTTKh.FormattingEnabled = true;
476 this.cmbTTKh.Location = new System.Drawing.Point(237, 10);
477 this.cmbTTKh.Name = "cmbTTKh";
478 this.cmbTTKh.Size = new System.Drawing.Size(146, 28);
479 this.cmbTTKh.TabIndex = 41;
480 this.cmbTTKh.Visible = false;
481 this.cmbTTKh.SelectionChangeCommitted += new System.EventHandler(this.cmbTTKh_SelectionChangeCommitted);
482 //
483 // label2
484 //
485 this.label2.AutoSize = true;
486 this.label2.Location = new System.Drawing.Point(4, 19);
487 this.label2.Name = "label2";
488 this.label2.Size = new System.Drawing.Size(94, 18);
489 this.label2.TabIndex = 42;
490 this.label2.Text = "Mã đơn hàng";
491 //
492 // pictureBox1
493 //
494 this.pictureBox1.Image = global::SoftQuanLyNhaHang.Properties.Resources.pack7ga;
495 this.pictureBox1.Location = new System.Drawing.Point(415, 65);
496 this.pictureBox1.Margin = new System.Windows.Forms.Padding(4);
497 this.pictureBox1.Name = "pictureBox1";
498 this.pictureBox1.Size = new System.Drawing.Size(65, 37);
499 this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
500 this.pictureBox1.TabIndex = 20;
501 this.pictureBox1.TabStop = false;
502 this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
503 //
504 // panel3
505 //
506 this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
507 | System.Windows.Forms.AnchorStyles.Right)));
508 this.panel3.AutoScroll = true;
509 this.panel3.BackColor = System.Drawing.Color.White;
510 this.panel3.Controls.Add(this.grbKey);
511 this.panel3.Controls.Add(this.linkLabel_KhachHangTruoc);
512 this.panel3.Controls.Add(this.panel4);
513 this.panel3.Controls.Add(this.label8);
514 this.panel3.Controls.Add(this.button2);
515 this.panel3.Controls.Add(this.button1);
516 this.panel3.Controls.Add(this.panel2);
517 this.panel3.Controls.Add(this.panel1);
518 this.panel3.Controls.Add(this.btnThemMoi);
519 this.panel3.Controls.Add(this.dgvDanhSachBanHang);
520 this.panel3.Controls.Add(this.textBoxTienHang);
521 this.panel3.Controls.Add(this.btnThanhToan);
522 this.panel3.Controls.Add(this.btnLoaiBo);
523 this.panel3.Controls.Add(this.btnInHoaDon);
524 this.panel3.Controls.Add(this.panel5);
525 this.panel3.Location = new System.Drawing.Point(3, 3);
526 this.panel3.Name = "panel3";
527 this.panel3.Size = new System.Drawing.Size(984, 637);
528 this.panel3.TabIndex = 31;
529 //
530 // grbKey
531 //
532 this.grbKey.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
533 this.grbKey.Controls.Add(this.lblHayLienHe);
534 this.grbKey.Controls.Add(this.linkLabelValidateKey);
535 this.grbKey.Controls.Add(this.lblTaiKhoanBanDaHet);
536 this.grbKey.Controls.Add(this.lblDungLai);
537 this.grbKey.Location = new System.Drawing.Point(614, 14);
538 this.grbKey.Name = "grbKey";
539 this.grbKey.Size = new System.Drawing.Size(354, 159);
540 this.grbKey.TabIndex = 44;
541 this.grbKey.TabStop = false;
542 this.grbKey.Text = "Thông báo";
543 this.grbKey.Visible = false;
544 //
545 // linkLabelValidateKey
546 //
547 this.linkLabelValidateKey.AutoSize = true;
548 this.linkLabelValidateKey.Location = new System.Drawing.Point(253, 114);
549 this.linkLabelValidateKey.Name = "linkLabelValidateKey";
550 this.linkLabelValidateKey.Size = new System.Drawing.Size(86, 18);
551 this.linkLabelValidateKey.TabIndex = 3;
552 this.linkLabelValidateKey.TabStop = true;
553 this.linkLabelValidateKey.Text = "Validate key";
554 this.linkLabelValidateKey.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabelValidateKey_LinkClicked);
555 //
556 // lblTaiKhoanBanDaHet
557 //
558 this.lblTaiKhoanBanDaHet.AutoSize = true;
559 this.lblTaiKhoanBanDaHet.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
560 this.lblTaiKhoanBanDaHet.Location = new System.Drawing.Point(6, 78);
561 this.lblTaiKhoanBanDaHet.Name = "lblTaiKhoanBanDaHet";
562 this.lblTaiKhoanBanDaHet.Size = new System.Drawing.Size(0, 24);
563 this.lblTaiKhoanBanDaHet.TabIndex = 1;
564 //
565 // lblDungLai
566 //
567 this.lblDungLai.AutoSize = true;
568 this.lblDungLai.Font = new System.Drawing.Font("Microsoft Sans Serif", 32F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
569 this.lblDungLai.ForeColor = System.Drawing.Color.Red;
570 this.lblDungLai.Location = new System.Drawing.Point(78, 14);
571 this.lblDungLai.Name = "lblDungLai";
572 this.lblDungLai.Size = new System.Drawing.Size(0, 51);
573 this.lblDungLai.TabIndex = 0;
574 //
575 // linkLabel_KhachHangTruoc
576 //
577 this.linkLabel_KhachHangTruoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
578 this.linkLabel_KhachHangTruoc.AutoSize = true;
579 this.linkLabel_KhachHangTruoc.Location = new System.Drawing.Point(791, 67);
580 this.linkLabel_KhachHangTruoc.Name = "linkLabel_KhachHangTruoc";
581 this.linkLabel_KhachHangTruoc.Size = new System.Drawing.Size(181, 18);
582 this.linkLabel_KhachHangTruoc.TabIndex = 42;
583 this.linkLabel_KhachHangTruoc.TabStop = true;
584 this.linkLabel_KhachHangTruoc.Text = "Đơn hàng chưa thanh toán";
585 this.linkLabel_KhachHangTruoc.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_KhachHangTruoc_LinkClicked);
586 //
587 // panel4
588 //
589 this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
590 this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
591 this.panel4.Location = new System.Drawing.Point(601, 287);
592 this.panel4.Name = "panel4";
593 this.panel4.Size = new System.Drawing.Size(1, 297);
594 this.panel4.TabIndex = 36;
595 //
596 // label8
597 //
598 this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
599 this.label8.AutoSize = true;
600 this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
601 this.label8.Location = new System.Drawing.Point(673, 261);
602 this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
603 this.label8.Name = "label8";
604 this.label8.Size = new System.Drawing.Size(76, 18);
605 this.label8.TabIndex = 22;
606 this.label8.Text = "Tiền hàng:";
607 this.label8.Visible = false;
608 //
609 // button2
610 //
611 this.button2.Location = new System.Drawing.Point(206, 591);
612 this.button2.Name = "button2";
613 this.button2.Size = new System.Drawing.Size(75, 43);
614 this.button2.TabIndex = 43;
615 this.button2.Text = "Print";
616 this.button2.UseVisualStyleBackColor = true;
617 this.button2.Visible = false;
618 this.button2.Click += new System.EventHandler(this.button2_Click);
619 //
620 // button1
621 //
622 this.button1.Location = new System.Drawing.Point(25, 592);
623 this.button1.Name = "button1";
624 this.button1.Size = new System.Drawing.Size(158, 42);
625 this.button1.TabIndex = 42;
626 this.button1.Text = "Print PreView";
627 this.button1.UseVisualStyleBackColor = true;
628 this.button1.Visible = false;
629 this.button1.Click += new System.EventHandler(this.button1_Click);
630 //
631 // panel2
632 //
633 this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
634 this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
635 this.panel2.Controls.Add(this.panel6);
636 this.panel2.Location = new System.Drawing.Point(603, 287);
637 this.panel2.Name = "panel2";
638 this.panel2.Size = new System.Drawing.Size(378, 1);
639 this.panel2.TabIndex = 41;
640 //
641 // panel6
642 //
643 this.panel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
644 this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
645 this.panel6.Location = new System.Drawing.Point(0, 37);
646 this.panel6.Name = "panel6";
647 this.panel6.Size = new System.Drawing.Size(378, 1);
648 this.panel6.TabIndex = 42;
649 //
650 // panel1
651 //
652 this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
653 this.panel1.Controls.Add(this.txtTongSoMatHang);
654 this.panel1.Controls.Add(this.label9);
655 this.panel1.Controls.Add(this.lblThongBao);
656 this.panel1.Controls.Add(this.textBoxTraLaiKhach);
657 this.panel1.Controls.Add(this.textBoxTienKhachDua);
658 this.panel1.Controls.Add(this.label10);
659 this.panel1.Controls.Add(this.textBoxTongThanhToan);
660 this.panel1.Controls.Add(this.label7);
661 this.panel1.Controls.Add(this.label6);
662 this.panel1.Controls.Add(this.label5);
663 this.panel1.Location = new System.Drawing.Point(623, 287);
664 this.panel1.Name = "panel1";
665 this.panel1.Size = new System.Drawing.Size(349, 297);
666 this.panel1.TabIndex = 21;
667 //
668 // txtTongSoMatHang
669 //
670 this.txtTongSoMatHang.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
671 this.txtTongSoMatHang.BackColor = System.Drawing.Color.White;
672 this.txtTongSoMatHang.BorderStyle = System.Windows.Forms.BorderStyle.None;
673 this.txtTongSoMatHang.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
674 this.txtTongSoMatHang.Location = new System.Drawing.Point(133, 20);
675 this.txtTongSoMatHang.Name = "txtTongSoMatHang";
676 this.txtTongSoMatHang.ReadOnly = true;
677 this.txtTongSoMatHang.Size = new System.Drawing.Size(212, 28);
678 this.txtTongSoMatHang.TabIndex = 44;
679 this.txtTongSoMatHang.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
680 //
681 // label9
682 //
683 this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
684 this.label9.AutoSize = true;
685 this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
686 this.label9.ForeColor = System.Drawing.SystemColors.ControlText;
687 this.label9.Location = new System.Drawing.Point(60, 20);
688 this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
689 this.label9.Name = "label9";
690 this.label9.Size = new System.Drawing.Size(76, 18);
691 this.label9.TabIndex = 42;
692 this.label9.Text = "Tiền hàng:";
693 //
694 // lblThongBao
695 //
696 this.lblThongBao.AutoSize = true;
697 this.lblThongBao.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
698 this.lblThongBao.ForeColor = System.Drawing.Color.Red;
699 this.lblThongBao.Location = new System.Drawing.Point(7, 195);
700 this.lblThongBao.Name = "lblThongBao";
701 this.lblThongBao.Size = new System.Drawing.Size(216, 24);
702 this.lblThongBao.TabIndex = 41;
703 this.lblThongBao.Text = "Giao dịch thành công!";
704 this.lblThongBao.Visible = false;
705 //
706 // textBoxTraLaiKhach
707 //
708 this.textBoxTraLaiKhach.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
709 this.textBoxTraLaiKhach.BackColor = System.Drawing.Color.White;
710 this.textBoxTraLaiKhach.BorderStyle = System.Windows.Forms.BorderStyle.None;
711 this.textBoxTraLaiKhach.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
712 this.textBoxTraLaiKhach.Location = new System.Drawing.Point(133, 145);
713 this.textBoxTraLaiKhach.Name = "textBoxTraLaiKhach";
714 this.textBoxTraLaiKhach.ReadOnly = true;
715 this.textBoxTraLaiKhach.Size = new System.Drawing.Size(212, 28);
716 this.textBoxTraLaiKhach.TabIndex = 40;
717 this.textBoxTraLaiKhach.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
718 //
719 // textBoxTienKhachDua
720 //
721 this.textBoxTienKhachDua.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
722 this.textBoxTienKhachDua.BackColor = System.Drawing.Color.White;
723 this.textBoxTienKhachDua.BorderStyle = System.Windows.Forms.BorderStyle.None;
724 this.textBoxTienKhachDua.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
725 this.textBoxTienKhachDua.Location = new System.Drawing.Point(133, 100);
726 this.textBoxTienKhachDua.Name = "textBoxTienKhachDua";
727 this.textBoxTienKhachDua.ReadOnly = true;
728 this.textBoxTienKhachDua.Size = new System.Drawing.Size(212, 28);
729 this.textBoxTienKhachDua.TabIndex = 39;
730 this.textBoxTienKhachDua.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
731 //
732 // label10
733 //
734 this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
735 this.label10.AutoSize = true;
736 this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
737 this.label10.Location = new System.Drawing.Point(10, 229);
738 this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
739 this.label10.Name = "label10";
740 this.label10.Size = new System.Drawing.Size(12, 18);
741 this.label10.TabIndex = 24;
742 this.label10.Text = " ";
743 //
744 // textBoxTongThanhToan
745 //
746 this.textBoxTongThanhToan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
747 this.textBoxTongThanhToan.BackColor = System.Drawing.Color.White;
748 this.textBoxTongThanhToan.BorderStyle = System.Windows.Forms.BorderStyle.None;
749 this.textBoxTongThanhToan.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
750 this.textBoxTongThanhToan.ForeColor = System.Drawing.Color.Red;
751 this.textBoxTongThanhToan.Location = new System.Drawing.Point(133, 63);
752 this.textBoxTongThanhToan.Name = "textBoxTongThanhToan";
753 this.textBoxTongThanhToan.ReadOnly = true;
754 this.textBoxTongThanhToan.Size = new System.Drawing.Size(212, 31);
755 this.textBoxTongThanhToan.TabIndex = 38;
756 this.textBoxTongThanhToan.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
757 //
758 // label7
759 //
760 this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
761 this.label7.AutoSize = true;
762 this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
763 this.label7.Location = new System.Drawing.Point(40, 145);
764 this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
765 this.label7.Name = "label7";
766 this.label7.Size = new System.Drawing.Size(96, 18);
767 this.label7.TabIndex = 17;
768 this.label7.Text = "Trả lại khách:";
769 //
770 // label6
771 //
772 this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
773 this.label6.AutoSize = true;
774 this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
775 this.label6.ForeColor = System.Drawing.Color.Red;
776 this.label6.Location = new System.Drawing.Point(5, 61);
777 this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
778 this.label6.Name = "label6";
779 this.label6.Size = new System.Drawing.Size(135, 18);
780 this.label6.TabIndex = 16;
781 this.label6.Text = "Tổng thanh toán:";
782 //
783 // label5
784 //
785 this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
786 this.label5.AutoSize = true;
787 this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
788 this.label5.Location = new System.Drawing.Point(24, 100);
789 this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
790 this.label5.Name = "label5";
791 this.label5.Size = new System.Drawing.Size(112, 18);
792 this.label5.TabIndex = 10;
793 this.label5.Text = "Tiền khách đưa:";
794 //
795 // textBoxTienHang
796 //
797 this.textBoxTienHang.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
798 this.textBoxTienHang.BackColor = System.Drawing.Color.White;
799 this.textBoxTienHang.BorderStyle = System.Windows.Forms.BorderStyle.None;
800 this.textBoxTienHang.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
801 this.textBoxTienHang.Location = new System.Drawing.Point(756, 253);
802 this.textBoxTienHang.Name = "textBoxTienHang";
803 this.textBoxTienHang.ReadOnly = true;
804 this.textBoxTienHang.Size = new System.Drawing.Size(212, 28);
805 this.textBoxTienHang.TabIndex = 35;
806 this.textBoxTienHang.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
807 this.textBoxTienHang.Visible = false;
808 //
809 // btnInHoaDon
810 //
811 this.btnInHoaDon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
812 this.btnInHoaDon.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
813 this.btnInHoaDon.Image = global::SoftQuanLyNhaHang.Properties.Resources.print_32;
814 this.btnInHoaDon.Location = new System.Drawing.Point(603, 586);
815 this.btnInHoaDon.Margin = new System.Windows.Forms.Padding(4);
816 this.btnInHoaDon.Name = "btnInHoaDon";
817 this.btnInHoaDon.Size = new System.Drawing.Size(110, 42);
818 this.btnInHoaDon.TabIndex = 22;
819 this.btnInHoaDon.UseVisualStyleBackColor = true;
820 this.btnInHoaDon.Click += new System.EventHandler(this.btnInHoaDon_Click);
821 //
822 // printPreviewDialog1
823 //
824 this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
825 this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
826 this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
827 this.printPreviewDialog1.Document = this.printDocument1;
828 this.printPreviewDialog1.Enabled = true;
829 this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
830 this.printPreviewDialog1.Name = "printPreviewDialog1";
831 this.printPreviewDialog1.Visible = false;
832 //
833 // printDocument1
834 //
835 this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
836 //
837 // printDialog1
838 //
839 this.printDialog1.UseEXDialog = true;
840 //
841 // lblHayLienHe
842 //
843 this.lblHayLienHe.AutoSize = true;
844 this.lblHayLienHe.Location = new System.Drawing.Point(7, 114);
845 this.lblHayLienHe.Name = "lblHayLienHe";
846 this.lblHayLienHe.Size = new System.Drawing.Size(0, 18);
847 this.lblHayLienHe.TabIndex = 4;
848 //
849 // uctBanHang
850 //
851 this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
852 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
853 this.AutoScroll = true;
854 this.Controls.Add(this.panel3);
855 this.Controls.Add(this.tableLayoutPanel2);
856 this.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
857 this.Margin = new System.Windows.Forms.Padding(4);
858 this.Name = "uctBanHang";
859 this.Size = new System.Drawing.Size(990, 750);
860 this.Load += new System.EventHandler(this.uctBanHang_Load);
861 ((System.ComponentModel.ISupportInitialize)(this.dgvDanhSachBanHang)).EndInit();
862 this.panel5.ResumeLayout(false);
863 this.panel5.PerformLayout();
864 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
865 this.panel3.ResumeLayout(false);
866 this.panel3.PerformLayout();
867 this.grbKey.ResumeLayout(false);
868 this.grbKey.PerformLayout();
869 this.panel2.ResumeLayout(false);
870 this.panel1.ResumeLayout(false);
871 this.panel1.PerformLayout();
872 this.ResumeLayout(false);
873 this.PerformLayout();
874
875 }
876
877 #endregion
878
879 private System.Windows.Forms.TextBox txtSoLuong;
880 private System.Windows.Forms.TextBox txtGiaBan;
881 private System.Windows.Forms.TextBox txtMaSanPham;
882 private System.Windows.Forms.Label label4;
883 private System.Windows.Forms.Label label3;
884 private System.Windows.Forms.Label label1;
885 private System.Windows.Forms.DataGridView dgvDanhSachBanHang;
886 public System.Windows.Forms.Button btnThanhToan;
887 private System.Windows.Forms.Button btnLoaiBo;
888 public System.Windows.Forms.Button btnInHoaDon;
889 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
890 private System.Windows.Forms.PictureBox pictureBox1;
891 public System.Windows.Forms.Button btnThemMoi;
892 private System.Windows.Forms.Panel panel5;
893 private System.Windows.Forms.Panel panel3;
894 private System.Windows.Forms.Label label8;
895 private System.Windows.Forms.Label label6;
896 private System.Windows.Forms.Label label5;
897 private System.Windows.Forms.Label label7;
898 private System.Windows.Forms.Label label10;
899 private System.Windows.Forms.TextBox textBoxTienHang;
900 private System.Windows.Forms.TextBox textBoxTraLaiKhach;
901 private System.Windows.Forms.TextBox textBoxTienKhachDua;
902 private System.Windows.Forms.TextBox textBoxTongThanhToan;
903 private System.Windows.Forms.Panel panel1;
904 private System.Windows.Forms.Panel panel4;
905 private System.Windows.Forms.Panel panel2;
906 private System.Windows.Forms.ComboBox cmbTTKh;
907 private System.Windows.Forms.Label label2;
908 private System.Windows.Forms.LinkLabel linkLabel_ThietLap;
909 private System.Windows.Forms.Label lblKh;
910 private System.Windows.Forms.Label lblThongBao;
911 private System.Windows.Forms.LinkLabel linkLabel_KhachHangTruoc;
912 private System.Windows.Forms.LinkLabel linkLabel_ThongTinKH;
913 private System.Windows.Forms.Label lblMaDonHang;
914 private System.Windows.Forms.Button button1;
915 private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
916 private System.Drawing.Printing.PrintDocument printDocument1;
917 private System.Windows.Forms.PrintDialog printDialog1;
918 private System.Windows.Forms.Button button2;
919 private System.Windows.Forms.Panel panel6;
920 private System.Windows.Forms.DataGridViewTextBoxColumn SoLuongDaBan;
921 private System.Windows.Forms.DataGridViewTextBoxColumn TrangThai;
922 private System.Windows.Forms.DataGridViewTextBoxColumn DonViTinhId;
923 private System.Windows.Forms.DataGridViewTextBoxColumn NhapKhoId;
924 private System.Windows.Forms.DataGridViewTextBoxColumn KhachHangId;
925 private System.Windows.Forms.DataGridViewTextBoxColumn NgayMuaHang;
926 private System.Windows.Forms.DataGridViewTextBoxColumn IdBanHang;
927 private System.Windows.Forms.DataGridViewTextBoxColumn STT;
928 private System.Windows.Forms.DataGridViewTextBoxColumn MaSanPham;
929 private System.Windows.Forms.DataGridViewTextBoxColumn TenSanPham;
930 private System.Windows.Forms.DataGridViewTextBoxColumn SoLuongDaBanHienThi;
931 private System.Windows.Forms.DataGridViewTextBoxColumn TenDonViTinh;
932 private System.Windows.Forms.DataGridViewTextBoxColumn GiaBan;
933 private System.Windows.Forms.DataGridViewTextBoxColumn ChietKhauPhanTram;
934 private System.Windows.Forms.DataGridViewTextBoxColumn Thue;
935 private System.Windows.Forms.DataGridViewTextBoxColumn ThanhTien_BH;
936 private System.Windows.Forms.DataGridViewCheckBoxColumn Xoa;
937 private System.Windows.Forms.Label label9;
938 private System.Windows.Forms.TextBox txtTongSoMatHang;
939 private System.Windows.Forms.GroupBox grbKey;
940 private System.Windows.Forms.Label lblTaiKhoanBanDaHet;
941 private System.Windows.Forms.Label lblDungLai;
942 private System.Windows.Forms.LinkLabel linkLabelValidateKey;
943 private System.Windows.Forms.Label lblHayLienHe;
944
945 }
946 }